package online.afeibaili.storebackendframework.repository

import online.afeibaili.storebackendframework.model.CouponEntity
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.stereotype.Repository


/**
 * 优惠券的存储类
 *
 *@author AfeiBaili
 *@version 2025/10/25 22:01
 */

@Repository
interface CouponRepository : JpaRepository<CouponEntity, Long> {
    fun findByCreateTimeIn(ids: List<Long>): List<CouponEntity>
}